home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 37
/
Aminet 37 (2000)(Schatztruhe)[!][Jun 2000].iso
/
Aminet
/
comm
/
mail
/
AEMail230.lha
/
aemail230
/
arexx
/
mailto.aem
< prev
next >
Wrap
Text File
|
1999-12-15
|
593b
|
26 lines
/* Arexx AEMail Mailto Compose */
OPTIONS RESULTS
parse arg userid screen a
IF ~ SHOW("PORTS","AEMAIL1") THEN
DO
openfl = OPEN('envfile', 'ENV:AEMail_Dir', 'Read')
if (openfl ~= 1) THEN EXIT
aemdir = READLN('envfile')
CLOSE('envfile')
if (aemdir = "") THEN EXIT
aemfile = aemdir"/AEMail"
ADDRESS COMMAND "Run >NIL: "aemfile
ADDRESS COMMAND "WaitForPort AEMAIL1"
IF ~ SHOW("PORTS","AEMAIL1") THEN EXIT
END
ADDRESS AEMAIL1
SCREENTOFRONT AEMAIL
COMPOSE MAILTO userid
SCREENTOFRONT screen
if (result = 0) then okay1 "Bad Public Screen: "screen
exit